<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <h1>hello</h1>
    <p>this is doc</p>
    <script>
      console.log(location); // 将地址栏对象化
      console.log(navigator); // 系统信息

      // window.username = "jack";
      // console.log(username);

      // setTimeout(() => {
      //   window.location.reload();
      // }, 3000);
    </script>
  </body>
</html>
